module.exports = (router, controller) => {
  // 获取留言(未登录)
  router.get('/leaveword/list', controller.leaveword.getLeaveword)
  // 获取留言(已登录)
  router.get('/leaveword/auth/list', controller.leaveword.getgetLeavewordAuth)
  // 添加留言
  router.post('/leaveword', controller.leaveword.createLeaveword)
  // 添加/删除反馈
  router.post('/feedback', controller.feedback.addOrDelFeedback)
  // 查询反馈
  router.get('/feedback', controller.feedback.getFeedback)
  // 添加评论
  router.post('/comment', controller.comment.createComment)
  // 获取评论
  router.get('/comment/list', controller.comment.getComment)
}
